﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetPE.Core.Metadata.Heaps;

namespace NetPE.TreeNodes
{
    class TblsNode : BaseNode
    {
        public TblsNode(TablesHeap h)
            : base(h)
        {
            this.h = h;
            this.Text = "Tables";
            this.ImageIndex = this.SelectedImageIndex = NodeType.Directory;
        }

        TablesHeap h;
        public override object Data { get { return h; } }

        public override BaseEditor GetEditorControl()
        {
            return new MdTablesEditor();
        }
    }
}
